home *** CD-ROM | disk | FTP | other *** search
/ The Programmer Disk / The Programmer Disk (Microforum).iso / xpro / c4 / pro16 / netnote.txt < prev    next >
Text File  |  1991-02-10  |  2KB  |  41 lines

  1. Article 1948 of comp.sources.misc:
  2. Path: cos!uunet!sparky!kent
  3. From: ersmith@uwovax.bitnet (Eric R. Smith)
  4. Newsgroups: comp.sources.misc
  5. Subject: v16i090:  mkptypes - Generate prototype declarations for C, Part01/01
  6. Message-ID: <1991Feb3.204131.28866@sparky.IMD.Sterling.COM>
  7. Date: 3 Feb 91 20:41:31 GMT
  8. Sender: kent@sparky.IMD.Sterling.COM (Kent Landfield)
  9. Organization: Sterling Software, IMD
  10. Lines: 1207
  11. Approved: kent@sparky.imd.sterling.com
  12. X-Checksum-Snefru: bf556370 9a2818ed 9f5e677b 1ced0392
  13.  
  14. Submitted-by: ersmith@uwovax.bitnet (Eric R. Smith)
  15. Posting-number: Volume 16, Issue 90
  16. Archive-name: mkptypes/part01
  17.  
  18. Here is mkptypes, a program for generating prototype declarations for
  19. all functions appearing in a C source file. The output declarations
  20. are enclosed in a macro so as to be usable by either an ANSI or an
  21. older C compiler. Typical usage would be to do 'mkptypes *.c >proto.h'
  22. and then have a '#include "proto.h"' line in the relevant C source
  23. code files. See the README file for more details.
  24.  
  25. An earlier version of this program was released on comp.sources.misc
  26. under the name "mkproto"; this updated version (with new command line
  27. options and several bug fixes) was renamed to avoid conflict with a
  28. file system utility available on some versions of Unix.
  29.  
  30. The source will probably compile as-is on most systems, providing you
  31. edit the makefile appropriately (the default is for my configuration,
  32. an Atari ST with gcc).
  33.  
  34. Eric R. Smith
  35. eric.smith@uwo.ca
  36. ersmith@uwovax.bitnet
  37.  
  38. #    This is a shell archive.
  39. #    Remove everything above and including the cut line.
  40. #    Then run the rest of the file through sh.
  41.